package com.gs.gms.web.server.controller;

import java.util.ArrayList;
import java.util.List;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.gs.gms.common.exceptions.GmsApplicationException;
import com.gs.gms.model.dto.UserDto;
import com.gs.gms.service.UserService;

/**
 * @author Sabuj Das | sabuj.das@gmail.com
 *
 */
@Controller
@RequestMapping("/user")
public class UserController {

	private static Logger logger = Logger.getLogger(UserController.class);
	
	@Autowired private UserService userService;
	
	@RequestMapping(value="/allConnections/{userName}", method=RequestMethod.GET)
	@ResponseBody
	public List<UserDto> getAllConnectedUsers(@PathVariable String userName){
		return new ArrayList<>();
		
	}

	
	
}
